<!DOCTYPE html>
<%@page contentType="text/html" %>
<%@page pageEncoding="UTF-8" %>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>CMS系统首页</title>
</head>
<body>

<h1>CMS系统首页</h1>
<hr>

<%--输出登录后的用户名--%>
<p>
    <span style="font-weight: bold;">User Id：</span><%= request.getRemoteUser() %>
</p>
<p>
    <span style="font-weight: bold;">
        <a href="${pageContext.request.contextPath}/logout">
            退出登录
        </a>
    </span>
</p>

</body>
</html>